﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"
    CodeBehind="addhausaMathTerm.aspx.vb" Inherits="HausaMathTermdev.addhausaMathTerm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Add new Term</h1>
    <table width="100%">
        <tr>
            <td>
                Hausa Term
            </td>
            <td>
                <asp:TextBox ID="txtHausaTerm" runat="server" Width="200px"></asp:TextBox>
            </td>

             <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtHausaTerm" ErrorMessage="Required Hausa Term"  ValidationGroup="NewTerm"  ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                English Term
            </td>
            <td>
                <asp:TextBox ID="txtEnglishTerm" runat="server"  Width="200px"></asp:TextBox>
            </td>

             <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtEnglishTerm" ErrorMessage="Required  English Term"   ValidationGroup="NewTerm"  ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Term Defination
            </td>
            <td>
                <asp:TextBox ID="txtTermdefinition" runat="server"  Width="200px"></asp:TextBox>
            </td>

             <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtTermdefinition" ErrorMessage="Required   Term Defination" ValidationGroup="NewTerm"   ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Thumbnail
            </td>
            <td>
                <asp:FileUpload ID="thumbnailUpload" runat="server" />
            </td>
            
             <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="thumbnailUpload" ErrorMessage="Required  Thumbnail"  ValidationGroup="NewTerm"  ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Site Address
            </td>
            <td>
                <asp:TextBox ID="txtSiteadress" runat="server"  Width="500px"></asp:TextBox>
            </td>

              <td>
           
            </td>
        </tr>
         <tr>
            <td>
                Remark
            </td>
            <td>
                <asp:TextBox ID="txtRemark" runat="server"  Width="500px"></asp:TextBox>
            </td>
            <td>
           
            </td>
        </tr>

         <tr>
            <td>
                Category
            </td>
            <td>
                <asp:DropDownList ID="ddlCategory" runat="server">
                <asp:ListItem Value="Other">Select</asp:ListItem>
                 <asp:ListItem>Geometry</asp:ListItem>
                  <asp:ListItem>Statistics</asp:ListItem>
                    <asp:ListItem>Numeration</asp:ListItem>
                     <asp:ListItem>Other</asp:ListItem>
                </asp:DropDownList>
               
            </td>
            <td>
           
            </td>
        </tr>

        <tr>
            <td colspan="2" style="text-align:left">
                <asp:Button ID="btnSave" runat="server" Text="Save"    ValidationGroup="NewTerm"   />
            </td>
            
        </tr>
    </table>
</asp:Content>
